﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HREntities
{
    public class Dog : IPayable
    {
        public string Name
        {
            get { return "Brian"; }
        }

        public decimal Pay()
        {
            Console.WriteLine("Bark, howl, woof");
            return 0;
        }

        public int CompareTo(IPayable other)
        {
            return Name.CompareTo(other.Name);
        }
    }
}
